﻿using Oop02.Entity;
using System;


namespace Oop02
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Person p = new Person("李宏", 18);
            p.Intro();

            TShirt shirt = new TShirt();
            shirt.Color = "五彩斑斓的黑";

            Shop shop = new Shop();
            shop.Try(p,shirt);

            p.Intro();

            TShirt shirt2 = new TShirt();
            shirt2.Color = "红";

            shop.Try(p, shirt2);
            p.Intro();
        }
    }

}
